package com.cbh.feign.controller.theorder;



import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cbh.api.model.ApiResult;
import com.cbh.api.model.theorder.TheOrder;

public interface TheOrderControllerBackgroundControllerBase {

	@RequestMapping(value = "/differenceById", method = RequestMethod.GET, produces = "application/json")
	public ApiResult<TheOrder> failure(@RequestParam(value = "accountToken", required = true) String accountToken,
			@RequestParam(value = "toId", required = true) String toId,
			@RequestParam(value = "toDifference", required = false) Double toDifference,
			@RequestParam(value = "toDifferenceState", required = false) Integer toDifferenceState);

	@RequestMapping(value = "/issue", method = RequestMethod.GET, produces = "application/json")
	public ApiResult<TheOrder> issue(
			@RequestParam(value = "accountToken", required = true) String accountToken,
			@RequestParam(value = "toId", required = true) String toId);

}
